package com.efast.dmom.mgmt.entity.les;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 翻包任务头表
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-06-04
 */
@TableName("tw_packtran_task_header")
public class TwPacktranTaskHeader implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "tw_packtran_task_header_id", type = IdType.AUTO)
	private Integer twPacktranTaskHeaderId;
	/**
	 * 任务状态 默认为0 翻包任务状态 0新单 1部分翻包 2完全翻包 3任务关闭
	 */
	@TableField("packtran_status")
	private String packtranStatus;
	/**
	 * 任务单号 P+yyyymmdd+seq
	 */
	@TableField("packtran_sheet_no")
	private String packtranSheetNo;
	/**
	 * 打印状态 默认为0 打印状态0未打印,1部分打印,2打印完成
	 */
	@TableField("print_status")
	private String printStatus;
	/**
	 * 任务创建人
	 */
	@TableField("task_createtime")
	private Date taskCreatetime;
	/**
	 * 任务创建时间
	 */
	@TableField("task_createman")
	private String taskCreateman;
	/**
	 * ASN序列号
	 */
	@TableField("asn_sheet_no")
	private String asnSheetNo;
	/**
	 * 零件包装流水号
	 */
	@TableField("part_serial_no")
	private String partSerialNo;
	/**
	 * 是否激活
	 */
	@TableField("mark_status")
	private Integer markStatus;
	/**
	 * 创建时间
	 */
	@TableField("create_time")
	private Date createTime;
	/**
	 * 创建用户
	 */
	@TableField("create_user")
	private String createUser;
	/**
	 * 上次更新时间
	 */
	@TableField("last_update_time")
	private Date lastUpdateTime;
	/**
	 * 更改用户
	 */
	@TableField("last_update_user")
	private String lastUpdateUser;
	/**
	 * 版本控制
	 */
	@TableField("opt_counter")
	private Integer optCounter;
	/**
	 * 企业代码
	 */
	@TableField("company_code")
	private String companyCode;

	public Integer getTwPacktranTaskHeaderId() {
		return twPacktranTaskHeaderId;
	}

	public void setTwPacktranTaskHeaderId(Integer twPacktranTaskHeaderId) {
		this.twPacktranTaskHeaderId = twPacktranTaskHeaderId;
	}

	public String getPacktranStatus() {
		return packtranStatus;
	}

	public void setPacktranStatus(String packtranStatus) {
		this.packtranStatus = packtranStatus;
	}

	public String getPacktranSheetNo() {
		return packtranSheetNo;
	}

	public void setPacktranSheetNo(String packtranSheetNo) {
		this.packtranSheetNo = packtranSheetNo;
	}

	public String getPrintStatus() {
		return printStatus;
	}

	public void setPrintStatus(String printStatus) {
		this.printStatus = printStatus;
	}

	public Date getTaskCreatetime() {
		return taskCreatetime;
	}

	public void setTaskCreatetime(Date taskCreatetime) {
		this.taskCreatetime = taskCreatetime;
	}

	public String getTaskCreateman() {
		return taskCreateman;
	}

	public void setTaskCreateman(String taskCreateman) {
		this.taskCreateman = taskCreateman;
	}

	public String getAsnSheetNo() {
		return asnSheetNo;
	}

	public void setAsnSheetNo(String asnSheetNo) {
		this.asnSheetNo = asnSheetNo;
	}

	public Integer getMarkStatus() {
		return markStatus;
	}

	public void setMarkStatus(Integer markStatus) {
		this.markStatus = markStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateUser() {
		return lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public Integer getOptCounter() {
		return optCounter;
	}

	public void setOptCounter(Integer optCounter) {
		this.optCounter = optCounter;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getPartSerialNo() {
		return partSerialNo;
	}

	public void setPartSerialNo(String partSerialNo) {
		this.partSerialNo = partSerialNo;
	}

	@Override
	public String toString() {
		return "TwPacktranTaskHeader{" + ", twPacktranTaskHeaderId=" + twPacktranTaskHeaderId + ", packtranStatus="
				+ packtranStatus + ", packtranSheetNo=" + packtranSheetNo + ", printStatus=" + printStatus
				+ ", taskCreatetime=" + taskCreatetime + ", taskCreateman=" + taskCreateman + ", asnSheetNo="
				+ asnSheetNo + ", partSerialNo=" + partSerialNo + ", markStatus=" + markStatus + ", createTime="
				+ createTime + ", createUser=" + createUser + ", lastUpdateTime=" + lastUpdateTime + ", lastUpdateUser="
				+ lastUpdateUser + ", optCounter=" + optCounter + ", companyCode=" + companyCode + "}";
	}
}
